<%@page contentType="text/html; charset=utf-8" pageEncoding="UTF-8" %>
<jsp:include page="/includes/header.jsp" />
<jsp:include page="/includes/column_left_all.jsp" />

<!-- start the middle column -->

<%@ page isErrorPage="true" %>
<%@ taglib prefix="c" uri="jakarta.tags.core" %>

<section>

    <h1>数据库错误</h1>
    <p>您在电脑商店数据库中遇到了错误。
        您可能需要按照附录 A 中的说明安装此数据库。</p>
    <p>要继续，请点击“后退”按钮，或者从本页面选择一个链接。</p>

    <!-- NOTE: When you're done with testing, you can disable 
    any of the following details about the exception. -->      
    <h2>详情</h2>
    <code>
    ${pageContext.errorData.servletName} threw a <br>
    ${pageContext.exception}<br>
    <c:forEach var="line" items="${pageContext.errorData.throwable.stackTrace}">
        &nbsp;&nbsp;&nbsp;&nbsp;at ${line}<br>
    </c:forEach>
    </code>

</section>

<!-- end the middle column -->

<jsp:include page="/includes/footer.jsp" />